import request from '@/utils/request'

export default {
    /**
     * 统计某一天的注册人数
     * @param {日期} day 
     * @returns 
     */
    createStatisticsData(day) {
        return request({
            url: `/statisticsservice/statistics/registerCount/${day}`,
            method: 'post'
        })
    },
    getShowData(searchObj) {
        return request({
            url: `/statisticsservice/statistics/getShowData/${searchObj.type}/${searchObj.begin}/${searchObj.end}`,
            method: 'get'
        })
    }
}
